#include "StdAfx.h"
#include "ShipsLaunchedMessage.h"
#include "game.h"
#include "FlightInfo.h"

ShipsLaunchedMessage::ShipsLaunchedMessage(GamePtr gamePtr, const FlightInfoPtr flightInfoPtr) 
                                           : m_gamePtr(gamePtr)
                                           , m_flightInfoPtr(flightInfoPtr)
{
}


ShipsLaunchedMessage::~ShipsLaunchedMessage(void)
{
}

void ShipsLaunchedMessage::do_execute()
{
   m_gamePtr->LaunchShips(m_flightInfoPtr);
}